package service;

import com.github.pagehelper.PageInfo;
import entity.Comment;
import exception.ServiceException;
import vo.CommentVo;

public interface CommentService {
    //加载评论
    PageInfo<CommentVo> loadComment(CommentVo c);

    //添加评论
    Boolean insertComment(Comment comment)throws ServiceException;

    //根据comment_id获取赞数
    PageInfo<CommentVo> getPraCount(CommentVo c);

    //加载待审核评论
    PageInfo<CommentVo> CMloadCommeommentVo(CommentVo c);

    //修改评论状态
    void updateCommentStatus(CommentVo commentVo);

    //加载待管理评论
    PageInfo<CommentVo> findCommentByChapterId(CommentVo commentVo);



}
